package com.xinchen.ssh.demo.core.dao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Description：
 *
 * @author Xin Chen
 * @version 1.0
 * @date 2016/12/15 10:49
 * @see 2016/12/15 10:49 Created
 ****************************************/
@Component
public abstract class AbstractDaoSupport<EntityManager> {
    private EntityManager entityManager;

    public AbstractDaoSupport() {
    }

    public EntityManager getEntityManager() {
        return this.entityManager;
    }

    @Autowired
    public void setEntityManager(EntityManager entityManager) {
        this.entityManager = entityManager;
    }
}
